package com.xjcs.saplingplan.ui.activity.countdown

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.xjcs.saplingplan.base.BaseVbActivity
import com.xjcs.saplingplan.const.setSingleClick
import com.xjcs.saplingplan.databinding.ActivityCountdownBgBinding

class CountdownBgActivity : BaseVbActivity<ActivityCountdownBgBinding>() {

    companion object {
        fun startActivity(context: Context) {
            val intent = Intent(context, CountdownBgActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun getViewBinding(): ActivityCountdownBgBinding {
        return ActivityCountdownBgBinding.inflate(layoutInflater)
    }

    override fun initUi(savedInstanceState: Bundle?) {
        initRecyclerView()
    }

    override fun registerObserver() {
    }

    private fun initRecyclerView() {

    }

    override fun initListener() {
        mBinding.ivBack.setSingleClick {
            finish()
        }
    }
}